//
//  MPMApiClient.h
//  mompharmacy
//
//  Created by chaizhiyong on 15/5/12.
//  Copyright (c) 2015年 chaizhiyong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MKNetworkKit.h"
#import "KCConstants_API.h"

/**
 *  云药房接口
 *  支持多任务
 */
@interface CSHApiClient : NSObject

+ (MKNetworkEngine *)engine;

/**
 *
 *  @param path     URL地址
 *  @param headers http header
 *  @param params  参数
 *
 *  @return 网络请求
 */
+ (MKNetworkOperation *)requestWithPath:(NSString *)path headers:(NSDictionary *)headers params:(NSDictionary *)params httpMethod:(NSString*)httpMethod;

+ (MKNetworkOperation *)requestWithPath:(NSString *)path headers:(NSDictionary *)headers params:(NSDictionary *)params  ssl: (BOOL)ssl;

/**
 *
 *  @param urlString     URL地址
 *  @param headers http header
 *  @param params  参数
 *
 *  @return 网络请求
 */

+ (MKNetworkOperation *)requestWithUrlString:(NSString*)urlString headers:(NSDictionary *)headers params:(NSDictionary *)params  httpMethod:(NSString*)httpMethod;
@end
